package com.server.order;

import combat.protocol.interfaces.OrderMovementInt;
import combat.protocol.types.OrderType;

public class orderMovementImpl extends orderImpl implements OrderMovementInt {
	private static final long serialVersionUID = 1L;
	
	private double speed = 0.0;
	
	public orderMovementImpl() {
		this.setType(OrderType.MOV);
	}
	
	public orderMovementImpl(Object target, double speed) {
		super(target, OrderType.MOV);
		this.speed = speed;
	}
	
	public double getSpeed() {
		return speed;
	}

	public void setSpeed(double speed) {
		this.speed = speed;
	}
}